﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Client.Master" AutoEventWireup="true" CodeBehind="Products.aspx.cs" Inherits="WebClient.Products" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    THÔNG TIN SẢN PHẨM
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    
<asp:DataList ID="grdPoduct" runat="server" DataKeyField="id" 
     RepeatColumns="3">
    <ItemTemplate>
    <table  width="100%" border="0" cellpadding="0" cellspacing="5">
    <tbody>
        <tr>
            <td align="center" valign="top" style="text-align:center">
                <a href="ProductDetail.aspx?id=<%# Eval("id") %>">
                 <img src="<%# Eval("pathImage") %>" border="0"  align="middle" />
                 
                </a>
            </td>
        </tr>
        <tr>
            <td align="center" class="tensp"  valign="top"><%#Eval("productName")%></td>
        </tr>
        <tr>
            <td align="center" class="tensp"  valign="top">Giá : <%#Eval("price")%> VND
            <img src="images/new.gif" border="0"  width="32" height="20" />
            </td>
        </tr>
        <tr>
         <td align="center" height = "30">
            <a href="Shoppingcart.aspx?id=<%# Eval("id") %>">
                 <img src="images/btn-chon.gif" border="0"  width="68" height="16"/>
                 
                </a>
                <a href="ProductDetail.aspx?id=<%# Eval("id") %>">
                 <img src="images/btn-chitiet.gif" border="0"  width="68" height="16" />
                 
                </a>
         </td>
        </tr>
        <tr>
        <td background="images/product-line-break.gif"><img src="images/spacer.gif" height="13" width="50"></td>
        </tr>
    </tbody>
    </table>
        
        
    </ItemTemplate>
</asp:DataList>

        <asp:Panel ID="panelPages" runat="server">
            
        </asp:Panel>
</ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
